import 'package:flutter/material.dart';

import './constants.dart' show AppColors;
import './home/home_screen.dart';

void main() => runApp(MaterialApp(
  title: '微信',
  // theme: ThemeData(
  //   primaryColor: Color(0xff303030)
  // ),不推荐使用
  theme: ThemeData.light().copyWith(
    primaryColor: Color(AppColors.AppBarColor),
    // AppBar下拉列表的背景色和AppBar统一
    cardColor: Color(AppColors.AppBarColor)
  ),
  home: HomeScreen(),
));


